cmake_minimum_required (VERSION 3.6)

project(tlsf)

file(GLOB DIR_LIB_SRCS "tlsf.c")

add_library(${PROJECT_NAME} ${DIR_LIB_SRCS})

target_include_directories(${PROJECT_NAME} PUBLIC "./")
target_compile_options(${PROJECT_NAME} PRIVATE -g)

add_dependencies(${PROJECT_NAME} kernal_cmsis)
target_link_libraries(${PROJECT_NAME} kernal_cmsis)

